﻿using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Practices.EnterpriseLibrary.Data;
using System.Data.Common;
using System.Data;

namespace BOHVote.Core
{
    public interface ITransactionManager : IDisposable
    {
       string ConnectionString
		{
			get;
		}
		Database Database
		{
			get;
		}
		DbTransaction TransactionObject
		{
			get;
		}
		bool IsOpen
		{
			get;
		}
		void BeginTransaction();
		void BeginTransaction(IsolationLevel isolationLevel);
		void Commit();
		void Rollback();
    }
}
